package timetable.interfaces.filefilter;

import java.io.File;

import javax.swing.filechooser.FileFilter;

public class SupportedFileFilter extends FileFilter
{

	@Override
	public boolean accept(File f) {
		return (new TXTFileFilter().accept(f) || new TTDFFileFilter().accept(f));
	}

	@Override
	public String getDescription() {
		return "All supported formats (.ttdf and .txt)";
	}
	
}
